import request from '@/utils/request'

// 查询活动待加分列表
export function listGxsActivityBonus(query) {
  return request({
    url: '/gxs/gxsActivityBonus/list',
    method: 'get',
    params: query
  })
}

// 查询活动待加分详细
export function getGxsActivityBonus(gxsJoinid) {
  return request({
    url: '/gxs/gxsActivityBonus/' + gxsJoinid,
    method: 'get'
  })
}

// 新增活动待加分
export function addGxsActivityBonus(data) {
  return request({
    url: '/gxs/gxsActivityBonus',
    method: 'post',
    data: data
  })
}

// 修改活动待加分
export function updateGxsActivityBonus(data) {
  return request({
    url: '/gxs/gxsActivityBonus',
    method: 'put',
    data: data
  })
}

// 删除活动待加分
export function delGxsActivityBonus(gxsJoinid) {
  return request({
    url: '/gxs/gxsActivityBonus/' + gxsJoinid,
    method: 'delete'
  })
}
